package com.itheima08;

public class Manager extends Employee {
    Clerk c;

    public Manager() {

    }

    public Manager(String name, String workId, String dept) {
        super(name, workId, dept);

    }

    public Clerk getC() {
        return c;
    }

    public void setC(Clerk c) {
        this.c = c;
    }

    public void showMsg() {
        super.showMsg();
        System.out.println(c.getName());
    }
}
